<?php


namespace App\backend\controllers\common;


use App\backend\controllers\AdminBaseController;
use App\frontend\models\AreaModel;
use App\Utils\JsonResp;

class AreaController extends AdminBaseController
{

    /**
     * 公共模块 - 省市区列表
     */
    public function getList()
    {
        $list = AreaModel::getAreaDatas();
        return JsonResp::success('成功', $list);
    }

}
